//
//  CedarBusinessConfig.m
//  CedarFinancePH
//
//  Created by lshenrong on 2018/4/17.
//  Copyright © 2018年 cedarhd. All rights reserved.
//

#import "CedarBusinessConfig.h"


#if PRODUCT_BUILD_CONFIGURE

//租车项目baseurl
NSString *const CedarBaseURL = @"http://101.201.123.172:8080/car/";

NSString *const CedarBaseSecurityURL =    @"https://app.dafae.com.cn/ifinance/";
NSString *const kProductDetailURL =    @"https://app.dafae.com.cn/h5/productDetail.html";

//firim 配置
NSString *const FirImAppToken =    @"348e3ea77ed09b24aa414ccfa339658e";
NSString *const FirImAppID =    @"5b4ff01bca87a8347b734bb3";

//pgy
NSString *const PgyerAPPKey =    @"c33b3d63bc16eca675fb8d1202864f4e";
NSString *const PgyerAPIKey =      @"53836fb348cfa02d5fde5dc1a22fca2d";


NSString *const kMyIntegralUseDetailURL =    @"https://app.dafae.com.cn/h5/intRule.html";


NSString *const kMasterH5URL =      @"https://app.dafae.com.cn/";

NSString *const kSA_SERVER_URL =      @"https://xuesongtest.datasink.sensorsdata.cn/sa?project=production&token=c7b8d7b084aeb4b2";

#else


//#if PRODUCT_BUILD_CONFIGURE_TEST


#if (PRODUCT_BUILD_CONFIGURE_TEST == 1) //有时需要用到生产地址，但是配置还是测试坏境的配置 https://manager.cedarlc.com/ifinance/
//61
NSString *const CedarBaseSecurityURL =   @"https://manager.cedarlc.com/ifinance/";
NSString *const kProductDetailURL =       @"https://manager.cedarlc.com/h5/productDetail.html";
NSString *const kMyIntegralUseDetailURL =    @"https://manager.cedarlc.com/h5/intRule.html";
NSString *const kMasterH5URL =      @"https://manager.cedarlc.com/";
NSString *const kSA_SERVER_URL =      @"https://xuesongtest.cloud.sensorsdata.cn:4006/sa?token=c7b8d7b084aeb4b2";


#elif (PRODUCT_BUILD_CONFIGURE_TEST == 2)

//UAT

NSString *const CedarBaseSecurityURL =   @"https://testapp.cedarlc.com/ifinance/";
NSString *const kProductDetailURL =       @"https://testapp.cedarlc.com/h5/productDetail.html";
NSString *const kMyIntegralUseDetailURL =    @"https://testapp.cedarlc.com/h5/intRule.html";
NSString *const kMasterH5URL =      @"https://testapp.cedarlc.com/";
NSString *const kSA_SERVER_URL =      @"https://xuesongtest.cloud.sensorsdata.cn:4006/sa?token=c7b8d7b084aeb4b2";

#else

//59
NSString *const CedarBaseSecurityURL =    @"http://10.3.150.59/ifinance/";
NSString *const kProductDetailURL =    @"http://10.3.150.59/h5/productDetail.html";
NSString *const kMyIntegralUseDetailURL =    @"http://10.3.150.59/h5/intRule.html";
NSString *const kMasterH5URL =      @"http://10.3.150.59/";

NSString *const kSA_SERVER_URL =      @"https://xuesongtest.cloud.sensorsdata.cn:4006/sa?token=c7b8d7b084aeb4b2";
#endif

//firim 配置
NSString *const FirImAppToken =    @"eefcfd971038bc1d4438f0f247b58765";
NSString *const FirImAppID =    @"5b502cfd548b7a1740f5c56c";

//pgy
NSString *const PgyerAPPKey =    @"c33b3d63bc16eca675fb8d1202864f4e";
NSString *const PgyerAPIKey =      @"53836fb348cfa02d5fde5dc1a22fca2d";


#endif


//test 产品详情
NSString * kTestProductDetailURL =      kProductDetailURL;

NSString *const CedarAES128Key = @"841b76dffdc336eb";

NSString *const RSA_PublicKey  = @"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCPWAQTNos+3tX9S0Sbv3cgPGA4Nfc/Uo00uHlcLCCNc+pQCmB02SyQIly8q+g+rA0/rdlB6oogTi9njVsgcl76CXDxX6xsK3fnBjv6eZgM2ogHdhmtJzse6WCI6m+hfuY3K8vqEam4rvBN1hDMQEkIA1XWwd4rHJ8IMUp0TtFvvwIDAQAB";

NSString *const kSayDetaiURL =      @"h5/saydetail.html";

NSString *const kRecommadURL =      @"h5/inviteInfo/index.html";
NSString *const kMyRecommadURL =      @"h5/inviteInfo/detail.html";

NSString *const kHelpCenterURL = @"/h5/help/index.html";
